<template>
</template>

<script>
	var PlayerManager = require('../playerManager')
	// playlet-plugin必须和上面的app.json里面声明的插件名称一致
	const playletPlugin = requirePlugin('playlet-plugin')
	export default {
		data() {
			return {
			
			}
		},
		onLaunch(options) {
			// 注册播放器页面的onLoad事件
			playletPlugin.onPageLoad(this._onPlayerLoad.bind(this))
		},
		_onPlayerLoad(info) {
			const playerManager = new PlayerManager()
			playerManager._onPlayerLoad(info)
		},
	}
</script>

<style>
</style>
